package com.zzh.partnersys.im.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzh.partnersys.im.entity.ChatSession;
import com.zzh.partnersys.im.entity.request.ChatSessionCreateRequest;
import jakarta.servlet.http.HttpServletRequest;

/**
 * <p>
 * 单聊会话表 服务类
 * </p>
 *
 * @author zzh
 * @since 2025-11-19
 */
public interface ChatSessionService extends IService<ChatSession> {

    /**
     * 创建会话
     * @param createRequest 创建会话请求
     * @return ChatSession
     */
    ChatSession createChatSession(ChatSessionCreateRequest createRequest, HttpServletRequest request);
}
